/****************************************************************
*  COPYRIGHT MorningCore CO.,LTD                               *
*****************************************************************/
/****************************************************************
 * FileName:    <ue_tx_rsgen_f.h>
 * version:     <1.0.0>
 * Purpose:     <Header file of ue_tx_rsgen_f.c>
 * Authors:     <guohuayong>
 * Notes:       <None>
 ****************************************************************/

/******************************************************************************
*  HISTORY OF CHANGES
*   <Date>          <Author>        <Version>       <DESCRIPTION>
*  2009-06-15      guohuayong        1.0.0            original
******************************************************************************/

#ifndef _ue_tx_rsgen_f
#define _ue_tx_rsgen_f

/*-----------including external files -----------------------------*/
//#include "../../common/head/lte_up_extern.h"
#include "../../../../CommLib_FltC/MacroDef.h"
#include "../../../../CommLib_FltC/Typedef.h"
#include "../../../../CommLib_FltC/Lib_Arith_f.h"
#include "../../../../CommLib_FltC/Common_function.h"
#include "../../common/head/NR_UL_macro.h"
#include "stdio.h"
#include "math.h"
//#define _CRT_SECURE_NO_DEPRECATE
/*-----------external variable declaration-------------------------*/

/*-----------constant and type declaration-------------------------*/

/*-----------macro declaration-------------------------------------*/

/*-----------variable declaration-----------------------------------*/

/*-----------Function or task prototype declaration-----------------*/

void RSGen_f_ReleaseFlag
(
    IN int      UL_RB_Num,                  // number of sub-carriers of RS
    IN int      Ncs,                        // Cyclic shift param in 3GPP TS 38.211
    IN int      Omiga,                      // Omiga in 3GPP TS 38.211
    IN int      Delta,                      // Delta in 3GPP TS 38.211
    IN int      uIdx,                       // u in 3GPP TS 38.211
    IN int      vIdx,                       // v in 3GPP TS 38.211
    IN int      RS_Type,             // alpha = 2*pi*Ncs/12 for 0; alpha = 2*pi*Ncs/8 for 1
    OUT cmplx_t RSGen_Op[]           // output of RSGen
);//added by guobaojuan,20180910
void ZCRootSeqGen_f
(
    IN int      RootSeqLen,   // 839 or 139 only for PRACH
    IN int      RootSeqParam, // u (PRACH) or q (RS) in 3GPP TS 36.211
    OUT cmplx_t  ZCRootSeqGen_Op[] // Zadoff-Chu root sequence
);          // output of RSGen;         // output of RSGen;

#endif












